package com.suirich.service;

import java.util.List;

import com.suirich.bean.Product;
import com.suirich.common.Page;

public interface ProductService {
    void create(Product product);

    Product read(Long id);
    
    List<Product> getProductList(Page page);
    
    Long getProductListCount();
    
    void delete(Product product);
    
    void update(Product product);

    List<Product> getProductListByCondition(String newRelease,List<Long> categories,Page page);
    
    Long getProductListByConditionCount(String newRelease,List<Long> categories);
}
